package com.workflowengine.config;

import com.workflowengine.config.WorkFlowConfig;
import lombok.Getter;
import lombok.Setter;

/**
 * @Package: com.workflowengine
 * @ClassName: WorkFlowContent
 * @Author: h2cloud
 * @CreateTime: 2024/7/15 11:07 下午
 * @Description:
 */
@Getter
@Setter
public class WorkFlowContent {
	private Long processId;
	private Long nodeId;
	private WorkFlowStatus status;
	private WorkFlowConfig workFlowConfig;

	public NodeConfig getCurNodeConfig() {
		return workFlowConfig.getNodeConfigList().get(0);
	}
}
